package com.aw.guiguzi.module.manager.msg.views

import com.aw.baselib.base.AwBasePresenter
import com.aw.baselib.base.AwBaseView
import com.aw.guiguzi.bean.MsgTemplateItemBean
import com.aw.guiguzi.bean.UserInfoBean

interface MsgCreateView : AwBaseView {
    interface Presenter : AwBasePresenter {
        fun getMsgTemplateList()
        fun getUserListSimple()
        fun msgCreateToSend(id: String?, templateId: String?, content: HashMap<String?, String?>?)
    }

    interface View : AwBaseView {
        fun getMsgTemplateListSuccess(total: Int, list: List<MsgTemplateItemBean>)
        fun getMsgTemplateListFail(code: Int, msg: String?)
        fun getUserListSimpleSuccess(list: List<UserInfoBean>)
        fun getUserListSimpleFail(code: Int, msg: String?)
        fun msgCreateToSendSuccess()
    }
}